package org.example.users.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
//指定表名？
@TableName()
public class User  {
    @TableId("id")//指定主键？为什么要指定 有什么用
    private Integer id;
    private String username;
    private String sex;
}
